/**
 * 
 */
package com.gxbadge.util;

import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author Administrator
 *
 */
public class DateTimeUtil {

	public static Timestamp getNowTime(){
		
		Date now = new Date();
		String nowTime = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(now);
        Timestamp timestamp = Timestamp.valueOf(nowTime);
        return timestamp;
		
	}
}
